﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Acme.TestModel.EFDAL;
using Acme.TestModel.EFDAL.Entity;

namespace ModelProject
{
	class Program
	{
		static void Main(string[] args)
		{
			using (var context = new TestModelEntities())
			{
				var count = context.Parent.Count(x => true);
				var min = context.Parent.Min(x => x.FparentTypeId);
				var d = context.Parent.Select(x => x.FparentTypeId).Distinct();
			}
		}
	}
}
